This element enables the designer to create his own strings and link them to existing ones.
See common elements attributes.
Name | Value Type | Default Value | Description | Comment | V. |
---|---|---|---|---|---|
name |
Empty. |
Displayed named of the string. |
|
1.4 |
|
comment |
Empty. |
Comment about the string. |
|
1.4 |
|
default |
0 |
String default value. |
|
1.4 |
|
persistent |
false |
Sets the persistency of the string. |
When this property is set to 'true', the string will be saved when closing the user interface and the value will be restored next time the user interface is opened. |
1.4 |
The following example creates a string which default value is "Hello!":
<?xml version="1.0" encoding="utf-8" ?> <SKIN language_version="1.1"> <STRING name="my string" default="Hello!" comment="this is my custom string" /> </SKIN>